package com.moxiao.yfjh.module.activity.convert.merchanType;

import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.activity.controller.admin.merchanType.vo.*;
import com.moxiao.yfjh.module.activity.dal.dataobject.merchanType.MerchantTypeDO;

/**
 * 相亲商家类型 Convert
 *
 * @author mx
 */
@Mapper
public interface MerchantTypeConvert {

    MerchantTypeConvert INSTANCE = Mappers.getMapper(MerchantTypeConvert.class);

    MerchantTypeDO convert(MerchantTypeCreateReqVO bean);

    MerchantTypeDO convert(MerchantTypeUpdateReqVO bean);

    MerchantTypeRespVO convert(MerchantTypeDO bean);

    List<MerchantTypeRespVO> convertList(List<MerchantTypeDO> list);

    PageResult<MerchantTypeRespVO> convertPage(PageResult<MerchantTypeDO> page);

    List<MerchantTypeExcelVO> convertList02(List<MerchantTypeDO> list);

}
